package com.gdou.dto;

import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
public class ShipDto extends BaseDto {

    @Pattern(regexp = ".{0,10}")
    private String num;

    @Pattern(regexp = ".{0,20}")
    private String name;

    @Pattern(regexp = "[0123]{0,1}")
    private String status;

    @Pattern(regexp = ".{0,30}")
    private String belong;


}
